# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        博智科技  
# Name:         hwk71
# Description:
# Author:       yzl
# Date:         2019-03-13
#-------------------------------------------------------------------------------

# l.sort(reverse=False)
# print(l)

def sortNumbers(*args,type='asc'):
    tmp_l = list(args)
    tmp_l.sort()
    return tmp_l
    # print('tmp',tmp_l)
    # if type == 'asc':
    #     return sorted(args,reverse=False)
    # else:
    #     return sorted(args,reverse=True)

def funa():
    # 注释,描述函数的用途
    pass
    def funb():
        # 描述用途
        pass
    return funb

def func(a,b):
    # 计算两个数的乘积
    # 1 判断两个数必须是正数
    # 2 ...
    pass


if __name__ == '__main__':
    l = [1, 3, 4, 9, 23, 11, 5]
    l1 = sortNumbers(*l,type='asc')
    print(l1)
    l2 = sortNumbers(*l,type='desc')
    print(l2)

    funa()()




